#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main(){
	int i = 0, j = 0;
	int arr[6] = { 90, 32, 14, 76, 39, 20 };
	for (i = 0; i < 6; i++){
		for (j = i + 1; j < 6; j++){
			if (arr[i]>arr[j]){
				int x;
				x = arr[i];
				arr[i] = arr[j];
				arr[j] = x;
			}
		}
	}
	
	for (i = 0; i < 6; i++){
		printf("%d ", arr[i]);
	}
	return 0;
}